#ifndef DEF_INSTRUCTION
#define DEF_INSTRUCTION

#include <iostream>

typedef unsigned char uchar;
typedef unsigned short ushort;

class Instruction{
public:

	Instruction();	//dat 0
	Instruction(unsigned char operation, unsigned char adressageA, unsigned char adressageB, short argA, short argB);
	~Instruction();

	void printInstr();
	void raz();

//accessors

	uchar getOp();
	uchar getAdrA();
	uchar getAdrB();
	short getArgA();
	short getArgB();

	void setOp(uchar op);
	void setAdrA(uchar a);
	void setAdrB(uchar b);
	void setArgA(short a);
	void setArgB(short b);



private:
	uchar m_operation;
	uchar m_adressageA;
	uchar m_adressageB;
	short m_argA;
	short m_argB;
};

#endif






